package com.vue.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "题库表")
public class Question {

    @ApiModelProperty("题目id")
    private Long id;

    @ApiModelProperty("题目类型")
    private String questionType;

    @ApiModelProperty("题目文本")
    private String questionText;

    @ApiModelProperty("选择题选项")
    private String Options;

    @ApiModelProperty("答案")
    private String answer;

    @ApiModelProperty("分值")
    private Long score;

    @ApiModelProperty("课程id")
    private Long courseId;

    @ApiModelProperty("创建者id")
    private Long userId;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;
}
